package demo7.demo1;

import org.springframework.stereotype.Component;

@Component
public class Student1  implements Teacher{
    @Override
    public void hi() {
        System.out.println("我是学生1");
    }
}
